import { Frame } from "./Frame";
//class MTimerFrame
    
    internal class MTimerFrame extends Frame
    {
        public MTimerFrame(arg1: number=1)
        {
            super(arg1);
            this._timer = new Object /* flash.utils.Timer */(arg1);
            return;
        }

        public /* override */ play(): void
        {
            super.play();
            this._timer.addEventListener(flash.events.TimerEvent.TIMER, onEnterFrameHandler);
            this._timer.start();
            return;
        }

        public /* override */ stop(): void
        {
            super.stop();
            this._timer.stop();
            this._timer.removeEventListener(flash.events.TimerEvent.TIMER, onEnterFrameHandler);
            return;
        }

        private /* var */_timer: Object /* flash.utils.Timer */;
    }
